﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class GeometryCollection
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class GeometryCollection
   ">
    <meta name="generator" content="docfx 2.40.12.0">
    
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Mapsui.Geometries.GeometryCollection">
  
  
  <h1 id="Mapsui_Geometries_GeometryCollection" data-uid="Mapsui.Geometries.GeometryCollection" class="text-break">Class GeometryCollection
  </h1>
  <div class="markdown level0 summary"><p>A GeometryCollection is a geometry that is a collection of 1 or more geometries.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a></div>
    <div class="level2"><span class="xref">GeometryCollection</span></div>
      <div class="level3"><a class="xref" href="Mapsui.Geometries.MultiLineString.html">MultiLineString</a></div>
      <div class="level3"><a class="xref" href="Mapsui.Geometries.MultiPoint.html">MultiPoint</a></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><span class="xref">IEquatable</span>&lt;<a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a>&gt;</div>
    <div><a class="xref" href="Mapsui.Geometries.IGeometryCollection.html">IGeometryCollection</a></div>
    <div><a class="xref" href="Mapsui.Geometries.IGeometry.html">IGeometry</a></div>
    <div><span class="xref">IEnumerable</span>&lt;<a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a>&gt;</div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_Envelope">Geometry.Envelope</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_AsText">Geometry.AsText()</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_AsBinary">Geometry.AsBinary()</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_ToString">Geometry.ToString()</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_GeomFromText_System_String_">Geometry.GeomFromText(String)</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_GeomFromWKB_System_Byte___">Geometry.GeomFromWKB(Byte[])</a>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Mapsui.Geometries.html">Mapsui.Geometries</a></h6>
  <h6><strong>Assembly</strong>: Mapsui.Geometries.dll</h6>
  <h5 id="Mapsui_Geometries_GeometryCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GeometryCollection : Geometry, IEquatable&lt;Geometry&gt;, IGeometryCollection, IGeometry, IEnumerable&lt;Geometry&gt;</code></pre>
  </div>
  <h5 id="Mapsui_Geometries_GeometryCollection_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>All the elements in a GeometryCollection must be in the same Spatial Reference. This is also the Spatial
Reference for the GeometryCollection.<br>
GeometryCollection places no other constraints on its elements. Subclasses of GeometryCollection may
restrict membership based on dimension and may also place other constraints on the degree of spatial overlap
between elements.</p>
</div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection__ctor.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L41">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection__ctor_" data-uid="Mapsui.Geometries.GeometryCollection.#ctor*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection__ctor" data-uid="Mapsui.Geometries.GeometryCollection.#ctor">GeometryCollection()</h4>
  <div class="markdown level1 summary"><p>Initializes a new GeometryCollection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public GeometryCollection()</code></pre>
  </div>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_BoundingBox.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.BoundingBox%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L124">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_BoundingBox_" data-uid="Mapsui.Geometries.GeometryCollection.BoundingBox*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_BoundingBox" data-uid="Mapsui.Geometries.GeometryCollection.BoundingBox">BoundingBox</h4>
  <div class="markdown level1 summary"><p>The minimum bounding box for this Geometry, returned as a BoundingBox.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override BoundingBox BoundingBox { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.BoundingBox.html">BoundingBox</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_BoundingBox">Geometry.BoundingBox</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Collection.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Collection%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L56">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Collection_" data-uid="Mapsui.Geometries.GeometryCollection.Collection*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Collection" data-uid="Mapsui.Geometries.GeometryCollection.Collection">Collection</h4>
  <div class="markdown level1 summary"><p>Gets or sets the GeometryCollection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IList&lt;Geometry&gt; Collection { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IList</span>&lt;<a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Item_System_Int32_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Item(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L51">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Item_" data-uid="Mapsui.Geometries.GeometryCollection.Item*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Item_System_Int32_" data-uid="Mapsui.Geometries.GeometryCollection.Item(System.Int32)">Item[Int32]</h4>
  <div class="markdown level1 summary"><p>Returns an indexed geometry in the collection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Geometry this[int index] { get; }</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>Geometry index</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a></td>
        <td><p>Geometry</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_NumGeometries.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.NumGeometries%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L84">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_NumGeometries_" data-uid="Mapsui.Geometries.GeometryCollection.NumGeometries*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_NumGeometries" data-uid="Mapsui.Geometries.GeometryCollection.NumGeometries">NumGeometries</h4>
  <div class="markdown level1 summary"><p>Gets the number of geometries in the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public virtual int NumGeometries { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Clone.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Clone%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L190">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Clone_" data-uid="Mapsui.Geometries.GeometryCollection.Clone*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Clone" data-uid="Mapsui.Geometries.GeometryCollection.Clone">Clone()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public GeometryCollection Clone()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.GeometryCollection.html">GeometryCollection</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Contains_Mapsui_Geometries_Point_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Contains(Mapsui.Geometries.Point)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L203">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Contains_" data-uid="Mapsui.Geometries.GeometryCollection.Contains*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Contains_Mapsui_Geometries_Point_" data-uid="Mapsui.Geometries.GeometryCollection.Contains(Mapsui.Geometries.Point)">Contains(Point)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override bool Contains(Point point)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><span class="parametername">point</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_Contains_Mapsui_Geometries_Point_">Geometry.Contains(Point)</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Distance_Mapsui_Geometries_Point_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Distance(Mapsui.Geometries.Point)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L146">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Distance_" data-uid="Mapsui.Geometries.GeometryCollection.Distance*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Distance_Mapsui_Geometries_Point_" data-uid="Mapsui.Geometries.GeometryCollection.Distance(Mapsui.Geometries.Point)">Distance(Point)</h4>
  <div class="markdown level1 summary"><p>Returns the shortest distance between any two points in the two geometries
as calculated in the spatial reference system of this Geometry.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override double Distance(Point point)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><span class="parametername">point</span></td>
        <td><p>Geometry to calculate distance to</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><p>Shortest distance between any two points in the two geometries</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_Distance_Mapsui_Geometries_Point_">Geometry.Distance(Point)</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Equals_Mapsui_Geometries_Geometry_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Equals(Mapsui.Geometries.Geometry)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L212">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Equals_" data-uid="Mapsui.Geometries.GeometryCollection.Equals*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Equals_Mapsui_Geometries_Geometry_" data-uid="Mapsui.Geometries.GeometryCollection.Equals(Mapsui.Geometries.Geometry)">Equals(Geometry)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override bool Equals(Geometry geom)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a></td>
        <td><span class="parametername">geom</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_Equals_Mapsui_Geometries_Geometry_">Geometry.Equals(Geometry)</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Equals_Mapsui_Geometries_GeometryCollection_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Equals(Mapsui.Geometries.GeometryCollection)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L161">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Equals_" data-uid="Mapsui.Geometries.GeometryCollection.Equals*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Equals_Mapsui_Geometries_GeometryCollection_" data-uid="Mapsui.Geometries.GeometryCollection.Equals(Mapsui.Geometries.GeometryCollection)">Equals(GeometryCollection)</h4>
  <div class="markdown level1 summary"><p>Determines whether this GeometryCollection is spatially equal to the GeometryCollection &apos;g&apos;</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Equals(GeometryCollection g)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.GeometryCollection.html">GeometryCollection</a></td>
        <td><span class="parametername">g</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True if the GeometryCollections are equals</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_Geometry_System_Int32_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.Geometry(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L91">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_Geometry_" data-uid="Mapsui.Geometries.GeometryCollection.Geometry*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_Geometry_System_Int32_" data-uid="Mapsui.Geometries.GeometryCollection.Geometry(System.Int32)">Geometry(Int32)</h4>
  <div class="markdown level1 summary"><p>Returns an indexed geometry in the collection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public virtual Geometry Geometry(int n)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">n</span></td>
        <td><p>Geometry index</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a></td>
        <td><p>Geometry at index N</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_GetBoundingBox.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.GetBoundingBox%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L114">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_GetBoundingBox_" data-uid="Mapsui.Geometries.GeometryCollection.GetBoundingBox*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_GetBoundingBox" data-uid="Mapsui.Geometries.GeometryCollection.GetBoundingBox">GetBoundingBox()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BoundingBox GetBoundingBox()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.BoundingBox.html">BoundingBox</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_GetEnumerator.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L62">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_GetEnumerator_" data-uid="Mapsui.Geometries.GeometryCollection.GetEnumerator*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_GetEnumerator" data-uid="Mapsui.Geometries.GeometryCollection.GetEnumerator">GetEnumerator()</h4>
  <div class="markdown level1 summary"><p>Gets an enumerator for enumerating the geometries in the GeometryCollection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public virtual IEnumerator&lt;Geometry&gt; GetEnumerator()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IEnumerator</span>&lt;<a class="xref" href="Mapsui.Geometries.Geometry.html">Geometry</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_GetHashCode.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.GetHashCode%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L180">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_GetHashCode_" data-uid="Mapsui.Geometries.GeometryCollection.GetHashCode*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_GetHashCode" data-uid="Mapsui.Geometries.GeometryCollection.GetHashCode">GetHashCode()</h4>
  <div class="markdown level1 summary"><p>Serves as a hash function for a particular type. <a class="xref" href="Mapsui.Geometries.GeometryCollection.html#Mapsui_Geometries_GeometryCollection_GetHashCode">GetHashCode()</a> is suitable for use
in hashing algorithms and data structures like a hash table.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>A hash code for the current <a class="xref" href="Mapsui.Geometries.GeometryCollection.html#Mapsui_Geometries_GeometryCollection_GetHashCode">GetHashCode()</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_GetHashCode">Geometry.GetHashCode()</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection_IsEmpty.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection.IsEmpty%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L100">View Source</a>
  </span>
  <a id="Mapsui_Geometries_GeometryCollection_IsEmpty_" data-uid="Mapsui.Geometries.GeometryCollection.IsEmpty*"></a>
  <h4 id="Mapsui_Geometries_GeometryCollection_IsEmpty" data-uid="Mapsui.Geometries.GeometryCollection.IsEmpty">IsEmpty()</h4>
  <div class="markdown level1 summary"><p>Returns empty of all the geometries are empty or the collection is empty</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override bool IsEmpty()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true of collection is empty</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="Mapsui.Geometries.Geometry.html#Mapsui_Geometries_Geometry_IsEmpty">Geometry.IsEmpty()</a></div>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">IEquatable&lt;&gt;</span>
  </div>
  <div>
      <a class="xref" href="Mapsui.Geometries.IGeometryCollection.html">IGeometryCollection</a>
  </div>
  <div>
      <a class="xref" href="Mapsui.Geometries.IGeometry.html">IGeometry</a>
  </div>
  <div>
      <span class="xref">IEnumerable&lt;&gt;</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_GeometryCollection.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.GeometryCollection%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/GeometryCollection.cs/#L36" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
